<template>
  <div>
    <NText :type>{{ type }}</NText>
  </div>
</template>

<script lang="ts" setup>
import { NText } from "naive-ui";
import { onMounted } from "vue";

console.log("atesttest");

const type = "error";

onMounted(() => {
  console.log("chushihua");
});
</script>
